package com.gistmap.sideline.payload;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gistmap.sideline.model.TaskStatus;
import lombok.Data;

import java.util.List;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;

@Data
@JsonInclude(NON_NULL)
public class TaskResponse {

    private Long id;

    private String title;

    private String content;

    private String tel;

    private String wechat;

    private Integer joinCount;

    private TaskStatus status;

    private List<ParticipateResponse> participates;

}
